﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="renderer" content="webkit" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title>三门峡市湖滨区妇幼保健院</title>
		<meta name="Keywords" content="医院标题,人民医院,省医" />
		<meta name="robots" content="All" />
		<meta http-equiv="mobile-agent" content="format=html5;url=http://m.hnsrmyy.net/" />
		<noscript><meta http-equiv="refresh" content="0; url=/noscript.htm" /></noscript>
		<!--[if lt IE 7]><meta http-equiv="refresh" content="0; url=/YouLose.htm" /><![endif]-->
		<meta name="Author" content="miraclevision technical team,kunyi" />

		<link rel="icon" href="favicon.ico" type="image/x-icon" />
		<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="css/normalize.css" type="text/css" />
		<link rel="stylesheet" href="css/index.css" type="text/css" />
		<link rel="stylesheet" href="css/fastorder.css" type="text/css" />
		<link rel="stylesheet" href="css/portal.base.min.css" type="text/css" />
		<link rel="stylesheet" href="css/portal.basic.min.css" type="text/css" />
		<link rel="stylesheet" href="css/ucenter.css" />
		<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="js/Kunyi.Respond.min.js" ></script><![endif]-->
		<script language="javascript" type="text/javascript" src="js/KunyiHTML5.min.js"></script>
		<script language="javascript" type="text/javascript" src="js/Kunyilibrary.js"></script>
		<script type="text/javascript" src="js/jquery-1.4.2.min.js" ></script>
		<script type="text/javascript" src="js/manage.js" ></script>
		<script type="text/javascript" src="js/jquery.cookie.js" ></script>
	</head>

	<body>
		<script language="javascript" type="text/javascript" src="js/Kunyi.Init.js"></script>
		<header>
			<div class="topHidden"></div>
			<div class="toolBase">
				<div class="BaseMark" style="width: 1500px;">
					<ul>
						<li class="first">
							<a href="javascript:;">站点地图</a>
						</li>
						<li>
							<a href="javascript:;">院长(信访)信箱</a>
						</li>
						<li>
							<a href="javascript:;">内部OA</a>
						</li>
						<li>
							<a href="javascript:;">人才招聘</a>
						</li>
						<li>
							<a href="javascript:;">人事管理</a>
						</li>
						<li>
							<a href="javascript:;">网上院史馆</a>
						</li>
						<li>
							<a href="javascript:;">在线留言</a>
						</li>
						<li>
							<a href="javascript:;" onClick="Kunyi.AddFavorite(window.location,document.title)">加入收藏</a>
						</li>
					</ul>
					<div id="username" class="language">登录</div>
					<div id="layOut" class="langBtn animated">登出</div>
				</div>
			</div>
			<div class="BaseMark logoBase">
				<a href="index.html">
					<h1 src="images/logo.jpg" class="load" width="227" height="47" style="color:#f7849f;">三门峡市湖滨区妇幼保健院</h1></a>
				<div class="searchBase">
					<div class="itemBase">
						<div class="divType" data-state="0">全站内容</div>
						<ul>
							<li data-id="1">全站内容</li>
							<li data-id="2">医生查找</li>
							<li data-id="3">新闻动态</li>
						</ul>
					</div>
					<form method="get" action="Search.html" onSubmit="return Kunyi.CheckSearchForm()">
						<input type="hidden" id="Type" name="Type" value="1" />
						<input type="text" name="SearchWords" placeholder="请输入您要查找内容的关键字" value="" autocomplete="off" onFocus="Kunyi.cls(event)" onBlur="Kunyi.res(event)" maxlength="28" id="SearchWords" />
						<input type="submit" value="搜索" class="boxsub animated" />
					</form>
				</div>
			</div>
		</header>
		<nav>
			<div class="nav Inav" style="margin: 0px auto;">
				<ul>
					<li class="PMenu">
						<a href="index.html" class="PAMenu">首页</a>
					</li>

					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="javascript:; " id="Nav_AMenu1 " class="PAMenu " title="医院概况 ">医院概况</a>

					</li>
					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="yuyue.html " id="Nav_AMenu2 " class="PAMenu " title="科学研究 ">预约挂号</a>

					</li>
					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="javascript:; " id="Nav_AMenu3 " class="PAMenu " title="医学教育 ">在线问诊</a>

					</li>
					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="javascript:; " id="Nav_AMenu4 " class="PAMenu " title="健康管理 ">免费咨询</a>

					</li>
					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="javascript:; " id="Nav_AMenu5 " class="PAMenu " title="新闻动态 ">健康资讯</a>

					</li>
					<li class="PMenu "><img src="images/ico_014.png " class="animated " width="15 " height="8 " />
						<a href="javascript:; " id="Nav_AMenu6 " class="PAMenu " title="护理园地 ">护理园地</a>

					</li>
				</ul>
			</div>
		</nav>


			<div id="gc" style="min-height: 32px;"> 
		


<div class="gp-ucenter g-container" id="g-cfg" data-module="userinfo" data-fo-help="1">
	<div id="g-breadcrumb" style="width: 1180px;">
        <a href="javascript:;">个人中心</a>&gt;&nbsp;<span>预约挂号单</span> 
  	</div>
	<div class="wrap g-clear">
		<div class="ucenter-main order-list ">
			 <form id="orderFilter" action="javascript:;">
				<input name="pageNo" type="hidden" value="1">
				<div>
					<label>
						按状态筛选 ：
					</label>
					<select name="orderState">
						<option value="0">全部</option>
						<option value="2">待就诊</option>
						<option value="3">待确认</option>
						<option value="1">待支付</option>
					</select>
				</div>
				<div>
					<label>
						就诊时间 ：
					</label>
					
					<select name="orderTime" style="width: 95px;">
						<option value="0" selected="">近三个月</option>
						<option value="1">更早订单</option>
					</select>
				</div>
				<input name="type" type="hidden" value="1">
				<span id="sureBt">确认</span>	
			</form>	
			<div class="ucenter-main-data order-list">
				<table class="data-title">
					<tbody><tr>
						<td style="width: 290px">预约医生</td>
						<td style="width: 100px">就诊人</td>
						<td style="width: 100px">预约状态</td>
						<td style="width: 145px">就诊日期</td>
						<td style="width: 120px">总金额</td>
						<td style="width: 120px">操作</td>
					</tr>
				</tbody></table>	

				<div class="data-content">
					<table class="data-item">
						<tbody id="data-list" class="data-list">
							
						</tbody>	
					</table>
				</div>

	      	</div>
		</div>

	</div>
</div>
	</div>
		<footer>
			<div class="menusBase ">
				<div class="BaseMark " style="width: 1180px;">
					<dl><dt><img src="images/ico_006.jpg " class="load " width="36 " height="34 " /><em>门诊服务</em><span>outpatient services</span></dt>
						<dd>
							<a href="javascript:; " title="预约流程 ">预约流程</a>
						</dd>
						<dd>
							<a href="javascript:; " title="门诊须知 ">门诊须知</a>
						</dd>
						<dd>
							<a href="javascript:; " title="院内导航 ">院内导航</a>
						</dd>
					</dl>
					<dl><dt><img src="images/ico_008.jpg " class="load " width="36 " height="34 " /><em>住院服务</em><span>hospitalized services</span></dt>
						<dd>
							<a href="javascript:; " title="住院须知 ">住院须知</a>
						</dd>
						<dd>
							<a href="javascript:; " title="检查须知 ">检查须知</a>
						</dd>
						<dd>
							<a href="javascript:; " title="住院清单 ">住院清单</a>
						</dd>
					</dl>
					<dl><dt><img src="images/ico_009.jpg " class="load " width="36 " height="34 " /><em>体检服务</em><span>examination services</span></dt>
						<dd>
							<a href="javascript:; " title="体检须知 ">体检须知</a>
						</dd>
						<dd>
							<a href="javascript:; " title="体检套餐查询 ">体检套餐查询</a>
						</dd>
						<dd>
							<a href="javascript:; " title="体检报告查询 ">体检报告查询</a>
						</dd>
					</dl>

					<div class="clear "></div>
				</div>
			</div>

			<div class="BottomHidden "></div>

			<div class="websiteInfo ">
				<div class="info ">主办单位：三门峡市湖滨区妇幼保健院 &nbsp; &nbsp;综合服务电话：120&nbsp;&nbsp; &nbsp;急救中心电话：120 &nbsp; 传真：120 &nbsp; 地 址：三门峡市湖滨区妇幼保健院 &nbsp;<br/> 版权所有：三门峡市湖滨区妇幼保健院 </div>
				<ul>
					<li class="first ">
						<a href="javascript:; ">关于我们</a>
					</li>
					<li>
						<a href="javascript:; ">法律声明</a>
					</li>
					<li>
						<a href="javascript:; ">网站地图</a>
					</li>
					<li>
						<a href="javascript:; ">联系我们</a>
					</li>
					<li>
						<a href="javascript:; ">院长(信访)信箱</a>
					</li>
				</ul>
				<div class="clear "></div>
				<p> &copy;2015-
					<script language="javascript " type="text/javascript ">
						document.write(new Date().getFullYear());
					</script>. All Rights Reserved.
					<a href="javascript:; ">备案号0000001 </a>
					</a>
				</p>
			</div>
		</footer>
		<script language="javascript " type="text/javascript " src="js/Kunyi.Common.js "></script>
		<script>
			$(document).ready(function() {

				var tokenStr = $.cookie('tokenStr'); //读取cookie

				//ajax封装-获取用户名
				getAsync(
					"/user/getCurrentUser?tokenStr=" + tokenStr,
					"",
					function(result) {
						var retCode = result.retCode;
						var _data = result.data; //取到数据
						var str = "";

						if(retCode == 200) {
							str = "欢迎：<a href='query.html' title='个人中心' style='color:#f7849f;padding-right:10px'>" + _data.phoneNum + "</a>|";
						} else {
							str = "<a href='login.html'>请登录</a>"
						}

						$("#username").html(str);
					},
					function() {
						alert("error");
					}
				);
				
				post(
					"/order/findOrder?tokenStr=" + tokenStr,
					"",
					function(result) {
						var lists = result.data.content; //获取list中的数据
						var str = "";
						
						for(var i = 0; i < lists.length; i++) { //循环后台传过来的Json数组  
						str += "<tr>" +
								"<td class='data-doctor' style='width: 270px'><a href='javascript:;' monitor='my_order,my_order,doctor' monitor-doctor-id='0d43f164-c36d-4d35-8a78-58120a8021b8000'><p class='data-headPhoto'><img src='https://kano.guahao.cn/elarge_pYf27810846'></p></a><p class='data-doctorDescribe'><a href='javascript:;' monitor='my_order,my_order,doctor' monitor-doctor-id='0d43f164-c36d-4d35-8a78-58120a8021b8000'><span class='data-doctorName'>"+lists[i].sellerId+"</span></a></p></td>" +
								"<td style='width: 100px'>" + lists[i].phoneNum + "</td>" +
								"<td style='width: 100px'>" + lists[i].orderStatusName + "</td>" +
								"<td style='width: 145px'>" + lists[i].orderTime + "</td>" +
								"<td style='width: 120px'>" + lists[i].orderAmt + "元</td>" +
								"<td class='data-details' style='width: 120px'><a class='det' href='javascript:;'>详情</a><br><a class='cancel  cancelModal' href='javascript:;'>取消预约</a></td>" +
								"</tr>"
						}
						$("#data-list").append(str);
					},
					function() {
						alert("error");
					}
				);

			});
		</script>
		<script>
			//登出
			$("#layOut").click(function() {
				//ajax封装
				get(
					"/user/logout",
					"",
					function(result) {
						var retCode = result.retCode;

						if(retCode == 200) {
							$.cookie('tokenStr', null);   //销毁cookie
							top.location.href = "./login.html";
						}
					},
					function() {
						alert("error");
					}
				)
			})
		</script>
	</body>

</html>